package com.cyjt.operation.bean;

import java.io.Serializable;
import java.util.Date;

import com.cyjt.operation.base.Tools;

public class InspectionTimeInfo implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String tollerId;// 巡检人员编号
	private String name;// 巡检员姓名
	private String title;// 巡检路段路段名称
	private Date startAt;// 巡检开始时间
	private Date endAt;// 巡检时间
	private Integer intervals; // 巡检间隔(小时)
	private double lon;// 经度
	private double lat;// 纬度
	private String device_no;// 巡检人员编号
	private String areaId;// 路段编号
	private String nfcCode;
	private Integer id;

	public InspectionTimeInfo(String tollerId, String name, String title,
			Date startAt, Date endAt, Integer intervals, double lon,
			double lat, String device_no, String areaId, String nfcCode,Integer id) {
		super();
		this.tollerId = tollerId;
		this.name = name;
		this.title = title;
		this.startAt = startAt;
		this.endAt = endAt;
		this.intervals = intervals;
		this.lon = lon;
		this.lat = lat;
		this.device_no = device_no;
		this.areaId = areaId;
		this.nfcCode = nfcCode;
		this.id = id;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNfcCode() {
		return nfcCode;
	}

	public void setNfcCode(String nfcCode) {
		this.nfcCode = nfcCode;
	}

	public double getLon() {
		return lon;
	}

	public void setLon(double lon) {
		this.lon = lon;
	}

	public double getLat() {
		return lat;
	}

	public void setLat(double lat) {
		this.lat = lat;
	}

	public String getDevice_no() {
		return device_no;
	}

	public void setDevice_no(String device_no) {
		this.device_no = device_no;
	}

	public String getAreaId() {
		return areaId;
	}

	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}

	public InspectionTimeInfo() {
		super();
	}

	public String getTollerId() {
		return tollerId;
	}

	public void setTollerId(String tollerId) {
		this.tollerId = tollerId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Date getStartAt() {
		return startAt;
	}

	public String getStartAtString() {
		return Tools.getDF(getStartAt()).toString();
	}

	public void setStartAt(Date startAt) {
		this.startAt = startAt;
	}

	public Date getEndAt() {
		return endAt;
	}

	public String getEndAtString() {
		return Tools.getDF(getEndAt()).toString();
	}

	public void setEndAt(Date endAt) {
		this.endAt = endAt;
	}

	public Integer getIntervals() {
		return intervals;
	}

	public void setIntervals(Integer intervals) {
		this.intervals = intervals;
	}

}
